import request from './../utils/request.js'

export default {
    //登录接口
    login(params) {
        return request.post("/users/login", params)
    },
    //获得用信息
    getUserInfo() {
        return request.get("/users/info")
    }
}